Foxit PDF RDK
FoxitRDKNative.MenuItemExArray Class Reference

Public Member Functions

 Add (element)
 Add an element to the end of current array. More...
 
 constructor ()
 Constructor.
 
 GetAt (index)
 Retrieve a copy of the element at position specified by index in current array. More...
 
 GetSize ()
 Get the size of elements in current array. More...
 
 InsertAt (index, element)
 Insert an element before the position specified by index. More...
 
 RemoveAll ()
 Remove all the element from current array. More...
 
 RemoveAt (index)
 Remove the element in position specified by index. More...
 

Member Function Documentation

◆ Add()

FoxitRDKNative.MenuItemExArray.Add ( element  )

Add an element to the end of current array.

Parameters
[in]elementNew element to be added to current array.
Returns
None.

◆ GetAt()

FoxitRDKNative.MenuItemExArray.GetAt ( index  )

Retrieve a copy of the element at position specified by index in current array.

Parameters
[in]indexAn index to specify which element is to be retrieved.
Returns
A copy of an element.

◆ GetSize()

FoxitRDKNative.MenuItemExArray.GetSize ( )

Get the size of elements in current array.

Returns
The size.

◆ InsertAt()

FoxitRDKNative.MenuItemExArray.InsertAt ( index  ,
element   
)

Insert an element before the position specified by index.

Parameters
[in]indexAn index to specify where to insert the new element. Valid range: from 0 to (size-1). size is the size of elements in current array.
[in]elementNew element to be inserted to current array.
Returns
None.

◆ RemoveAll()

FoxitRDKNative.MenuItemExArray.RemoveAll ( )

Remove all the element from current array.

Returns
None.

◆ RemoveAt()

FoxitRDKNative.MenuItemExArray.RemoveAt ( index  )

Remove the element in position specified by index.

Parameters
[in]indexAn index to specify which element is to be removed. Valid range: from 0 to (size-1). size is the size of elements in current array.
Returns
None.